package cn.ccit.iservers;

import java.util.List;

import cn.ccit.entites.User;

public interface IUserServers {
	public boolean regUser(User user);
	public User loginUser(User user);
	public boolean changePwd(User user);
	public boolean changeUserInfo(User user);
	public boolean setUserAuthorities(User user);
	public boolean setUserTerminal(User user);
	public List<User> getSomeUsers(int startId,int limit);
	public User searchUserInfoByID(int id);
	public List<User> searchUserInfoByName(String name);
	public int getAuthorityIdList();//获取初始权限
	public void setAuthorityIdList(int authorityIdList);//修改初始权限
	public boolean removeUser(User user);
}
